<!DOCTYPE html>
<html>
<?php $this->load->view('header');?>
<body class="container_12">

	<!-- BEGIN main wrapper -->
	<div class="grid_12">
	
		<!-- BEGIN header -->	
		<header>
		
			<h1 id="logo" class="grid_5 alpha omega">
				<a href="<?php echo base_url()?>"><img src="<?php echo base_url()?>template/css/images/logo.png" /></a>
			</h1>
			
			<?php if($this->session->userdata('login') === TRUE){?>
			<!-- Menu Profile -->
			<div id="menu-profile" style='width:162px;'>
				<dl style="" class="dropdown">
				   <dt><a id="linkglobal" style="cursor:pointer;"></a></dt>
					<dd>
						<ul id="ulglobal">
							<li><a href="<?php echo base_url()?>member.html">Berbagi Informasi</a></li>
							<li><a href="<?php echo base_url()?>member.html">Agenda Kajian</a></li>	
							<?php if($this->session->userdata('group') == '1'){?>
							<li><a href="<?php echo base_url()?>admin/main.html">Administrasi</a></li>
							<?php } ?>
							<li><a href="<?php echo base_url()?>member.html">Pengaturan Akun</a></li>
							<li><a href="<?php echo base_url()?>home/logout.html">Logout</a></li>
					  </ul>
				   </dd>
				</dl>
			</div>
			<!-- END menu profile -->
			<?php } ?>
			
			<!-- BEGIN navigation -->
			<nav class="font-ad"><!--class="font-ad"-->
				<ul>
					<li><a href="<?php echo base_url()?>">Home</a></li>
					<li><a href="<?php echo base_url()?>about.html">Tentang Kami</a></li>
					<li><a href="<?php echo base_url()?>kajian.html">Jadwal Kajian</a></li>
					<li><a href="#">Peta</a></li>									
					<?php if($this->session->userdata('login') === FALSE){?>
					<li><a href="<?php echo base_url()?>home/daftar.html" class="fancybox">Daftar</a></li>
					<li><a href="<?php echo base_url()?>login.html" class="fancybox">Login</a></li>
					<?php }?>
				</ul>
				<div class="bottom"></div>
			</nav>
			<!-- END navigation -->
		</header>
		<!-- END header -->

		<!-- BEGIN shadowed-block
			 This div creates the shadow behind the entire template -->
		<div class="shadowed-block">
			<?php echo $content?>
		</div>
		<!-- END Shadowed Block -->

		<?php $this->load->view('footer');?>
		
	</div>
	
	<script type="text/javascript" src="http://s7.addthis.com/js/300/addthis_widget.js#pubid=ra-4efd28c125922f8f"></script>

</body>
</html>